FFmpeg:RTMP play int html5 |
您所在的位置:网站首页 › ffmpeg html5 › FFmpeg:RTMP play int html5 |
RTMP是Real Time Messaging Protocol(实时消息传输 协议 )的首字母缩写。. 该协议基于TCP,是一个协议族,包括RTMP基本协议及RTMPT/RTMPS/RTMPE等多种变种。. RTMP是一种设计用来进行实时数据通信的网络协议,主要用来在Flash/AIR平台和支持RTMP协议的流媒体/交互服务器之间进行音视频和数据通信。 https://github.com/algoz098/vue-player#usage--guidehttp://stream-tester.jwplayer.com/https://github.com/jwplayerhttps://demos.jwplayer.com/https://github.com/kernelj/jswebrtchttps://github.com/Softvelum/webrtcjshttps://github.com/yurydelendik/rtmp.js\ WebRTCPlayer html, body { background-color: #111; text-align: center; }
WebRTCPlayer var video = document.getElementById('video-webrtc'); var url = 'webrtc://localhost/live/livestream'; var player = new JSWebrtc.Player(url, { video: video, autoplay: true, onPlay: (obj) => { console.log("start play") } });
|
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |